package com.jiao.mavendemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author jiaohongtao
 * @version 1.0
 * @since 2020年08月21日
 */
@Controller
public class FirstController {

    @RequestMapping({"/", "/index"})
    @ResponseBody
    public String index() {
        return "index";
    }
}
